﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.OrganizationManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2020-05-09 22:47
    /// 描 述：评论实体类
    /// </summary>
    [Table("sys_comment")]
    public class CommentEntity : BaseEntity
    {
        /// <summary>
        /// 评论id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? PlId { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        /// <returns></returns>
        public string PlContent { get; set; }
        /// <summary>
        /// 评论用户id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? PlUid { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        /// <returns></returns>
        public string PlAddress { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? PlDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string PlName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string PlHone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public int? PlSort { get; set; }
    }
}
